package com.hubery.designpattern.enums;

import lombok.Getter;

/**
 * @author: lxy
 * @date: 2023/2/28 00:00
 * @Description:
 */
@Getter
public enum ChainBizTypeEnum {

    /**
     * 生成优惠券
     */
    GENERATE_COUPON("GENERATE_COUPON", "生成优惠券"),

    /**
     * 增加积分
     */
    INCR_POINTS("INCR_POINTS", "增加积分"),

    /**
     * 锁定库存
     */
    LOCK_STOCK("LOCK_STOCK", "锁定库存"),

    /**
     * 通知发货
     */
    NOTIFY_DELIVERY("NOTIFY_DELIVERY", "通知发货"),
    ;

    final String type;

    final String desc;

    ChainBizTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
